package zack.gateway.core.executor;

import zack.gateway.core.datasource.Connection;
import zack.gateway.core.session.Configuration;

/**
 * @author A1793
 */
public class SimpleExecutor extends BaseExecutor {
    public SimpleExecutor(Connection connection,Configuration configuration) {
        super(connection,configuration);
    }

    @Override
    protected Object doExecute(String methodName, String[] parameterTypes, Object[] params) {
        return connection.execute(methodName,parameterTypes,new String[]{"ignore"},params);
    }
}
